import './assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import { FastClick } from 'fastclick'
FastClick.attach(document.body) // 移动端使用 fastclick

import 'lib-flexible'

import App from './App.vue'
import router from './router'
import { globalRegist } from './vant'

const app = createApp(App)

globalRegist(app) // 全局注册vant组件
app.use(createPinia())
app.use(router)

app.mount('#app')
